package com.tianqi.code.lottery.domain.strategy.model.aggregates;

import com.tianqi.code.lottery.infrastructure.po.Strategy;
import com.tianqi.code.lottery.infrastructure.po.StrategyDetail;
import jdk.internal.dynalink.linker.LinkerServices;

import java.util.List;

/**
 * 抽奖领域策略聚合根
 */
public class StrategyRich {

    /**
     * 策略信息
     */
    private Strategy strategy;

    /**
     * 策略详情
     */
    private List<StrategyDetail> strategyDetailList;

    public Long getStrategyId() {
        return this.strategy.getStrategyId();
    }

    public Strategy getStrategy() {
        return strategy;
    }

    public void setStrategy(Strategy strategy) {
        this.strategy = strategy;
    }

    public List<StrategyDetail> getStrategyDetailList() {
        return strategyDetailList;
    }

    public void setStrategyDetailList(List<StrategyDetail> strategyDetailList) {
        this.strategyDetailList = strategyDetailList;
    }
}
